% p16 例2 线性插值
x = [100, 121];
y = [10, 11];
xx = 115;  % 插值点
yy = (xx - x(2)) / (x(1) - x(2)) * y(1) + (xx - x(1)) / (x(2) - x(1)) * y(2)